package com.bupt.dto.network;

import lombok.Data;
import lombok.EqualsAndHashCode;

@EqualsAndHashCode
@Data
public class ShortwaveDto {
    private String id;
    private String name;
    private String code;
    private String sourceName;
    private String targetName;
    private Long length;
    private int year;
    private int size;
    private double rate;

    public ShortwaveDto(String id, String name, String code, String sourceName,
                        String targetName, Long length, int year, int size, double rate) {
        this.id = id;
        this.name = name;
        this.code = code;
        this.sourceName = sourceName;
        this.targetName = targetName;
        this.length = length;
        this.year = year;
        this.size = size;
        this.rate = rate;
    }
}
